package 动物声音模拟器;

public class Application {
    public static void main(String[] args) {
        Simulator simulator = new Simulator();
        
        // 狗的叫声
        simulator.playSound(new Dog());
        
        // 猫的叫声
        simulator.playSound(new Cat());
    }
}

